<!DOCTYPE html>
<html style="width:100%;height:100%;">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        html,
        body {
            overflow: hidden;
            height: 100%;
            width: 100%;
            padding: 0;
            margin: 0;
        }
    </style>
    <title>update</title>
    <meta name="description">
</head>

<body style="background: black;font-family: Microsoft Yahei">
    <div style="width: 525px;margin: 0 auto;">
        <h1 style="font-size: 3rem;color: #33b5e5;border-bottom: solid 0.3rem #444;">应用更新</h1>
        <p style="color: #bbb;">更新信息：</p>
        <div class="changeLog" style="height: 27rem;">   
            <iframe frameborder="0" width="100%" height="100%" src="./changelog.html" scrolling="no"></iframe>  
        </div>
        <div style="font-size: 1.8rem;background:#33b5e5; text-align: center;padding:16px;padding: 8px; margin: 8px 0;" onclick="goInstall()">立即更新</div>
        <div style="font-size: 1.8rem;border-top: solid 1px #000;color: #bbb;text-align: center;padding: 8px;" onclick="goAppIndex()">下次更新</div>
    </div>

    <script>
        function goInstall(){
            location.href = './install.html';
        }
        function goAppIndex(){
            localStorage.setItem("needUpdated", true);
            location.href = './../index.html';
        }
    </script>

</body>

</html>